package service

import (
	DictItemApi "mldong/api/dictItem"
	"reflect"
)

type IDictItemService interface {
	/**
	* 添加字典项
	 */
	Save(req *DictItemApi.SaveReq) (res bool, err error)
	/**
	* 修改字典项
	 */
	Update(req *DictItemApi.UpdateReq) (res bool, err error)
	/**
	* 删除字典项
	 */
	Remove(ids []string) (res bool, err error)
	/**
	* 字典项详情
	 */
	Detail(id string) (res DictItemApi.DictItemVO, err error)
	/**
	* 字典项分页查询
	 */
	Page(req *DictItemApi.PageReq) (res DictItemApi.DictItemPageVO, err error)
}

var DictItemServiceType = reflect.TypeOf((*IDictItemService)(nil)).Elem()
